package jpg1980.utils;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

import org.apache.log4j.Logger;

public class Props
{
	private static Logger logger = Logger.getLogger(Props.class);
	public static Properties properties;
	
	static
	{
		final String propertiesFile ="jpg1980.properties";				       	        
        try 
        {        	
        	properties = new Properties();
        	InputStream propertyFile = Props.class.getClassLoader().getResourceAsStream(propertiesFile);
        	properties.load(propertyFile);
		} 
        catch (IOException e) 
        {		
        	logger.fatal("Could not load properties file :" + propertiesFile, e);        	
		}
	}
}
